﻿using System;
using System.Collections.Generic;
using System.Text;
using Volo.Abp.Application.Dtos;

namespace Himp.Platform
{
    public class WorkflowModelDto : EntityDto<string>
    {
        public string Name { get; set; }

        public int Version { get; set; }

        public string EditorSourceExtraValueId { get; set; }

        public string EditorSourceValueId { get; set; }

        public string? LastUpdateTime { get; set; }

        public string CreateTime { get; set; }

        public EnumWorkflowModelStas? WorkflowModelStas { get; set; }

        public string WorkflowModelStasName
        {
            get 
            {
                if (WorkflowModelStas != null)
                {
                    return WorkflowModelStas.ToString();
                }

                return string.Empty;
            }
        }

        public string? DeploymentId { get; set; }

        public string? DeployKey { get; set; }
    }
}
